package common;

import org.apache.lucene.util.Version;

public class Constants {	
	
	public static final String DOC_FEATURE_KEY_CONTENT = "content";	
	public static final String DOC_FEATURE_KEY_LINK = "link";
	public static final String DOC_FEATURE_KEY_XPATH_ROOT = "xpath_root";
	public static final String DOC_FEATURE_KEY_XPATHS = "xpaths";
	
	public static final String XPATH_LINK = "link";
	public static final String XPATH_TITLE = "title";
	public static final String XPATH_IMAGE = "image";
	public static final String XPATH_START_TIME = "start_time";
	public static final String XPATH_END_TIME = "end_time";
	public static final String XPATH_ORI_PRICE = "ori_price";
	public static final String XPATH_CUR_PRICE = "cur_price";
	public static final String XPATH_REBATE = "rebate";
	public static final String XPATH_BOUGHT = "bought";
	public static final String XPATH_DETAIL = "detail";

	public static final String CONF_INDEX_PATH = "index_path";
	public static final String CONF_SEARCH_PORT = "search_port";
	public static final String CONF_QUERY_ENC = "query_encoding";
	
	public static final String INDEX_FIELD_TITLE = "title";
	
	public static final Version LUCENCE_VERSION = Version.LUCENE_34;
}
